package logic;

public class LogicConstants
{
	// 协议action字段version常量定义
	public static final int PROTOCOL_VERSION = 01;

	public static final String MAP_SERVER_ADDRESS = "10.10.10.110";
	public static final int MAP_SERVER_PORT = 8014;

	// ----------------Common params-----------------------
	public static final String PARAM_STATUS_CODE = "status_code";
	public static final String PARAM_CALLBACK = "callback";
	public static final String PARAM_RESPONSE = "response";		

	// ----------------Common params-----------------------
	public static final String PARAM_MODEL_TYPE_SYS_CONFIG = "sysConfig";
	public static final String PARAM_MODEL_TYPE_USER = "user";
	public static final String PARAM_MODEL_TYPE_CONTACT = "contact";

	// ----------------Fetion Protocol headers params-----------------------
	public static final String PARAM_FETION_PROTOCOL_VERSION = "protocol_ver";
	public static final String PARAM_CMD = "cmd";
	public static final String PARAM_USER_ID = "user_id";
	public static final String PARAM_IS_COMPRESSED = "compressed";
	public static final String PARAM_IS_ENCRYPT = "encrypted";
	public static final String PARAM_CLIENT_TYPE = "client_type";
	public static final String PARAM_CLIENT_VERSION = "client_version";
	public static final String PARAM_PLATFORM = "platform";

	// ----------------Fetion data operation type-----------------------
	public static final String PARAM_DATA_ACTION_ABOUT_SYS_CONFIG = "fetion.data.sys.*";
	public static final String PARAM_DATA_ACTION_INIT_ABOUT_SYS_CONFIG = "fetion.data.sys.init";
	public static final String PARAM_DATA_ACTION_ABOUT_USER = "fetion.data.user.*";
}
